<?php

namespace app\api\controller;

use app\api\service\SystemService;
use think\Env;
use think\Exception;
use think\Log;
use think\Request;

class System extends Base
{

    public function __construct()
    {
        // todo 
    }

    // 获取系统配置
    public function config()
    {
        $data = (new SystemService())->list();
        $this->success('success', $data);
    }

}